<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns="http://www.w3.org/1999/xhtml"
                template="/template.xhtml"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui">
    <ui:define name="content">
        <f:view>
            <h:form>

                <div class="inside">
                    <h2>Question</h2>
                    <h:dataTable value="#{fAQBean.allFAQ}" var="item" style="width: 100%">
                        <h:column>
                            <ul class="articles">
                                <li>
                                 
                                    <h4><p:commandLink action="#{fAQBean.detailFAQs(item)}" ajax="false">#{item.question}</p:commandLink></h4>

                                </li>
                            </ul>
                        </h:column>
                    </h:dataTable>
                </div>

            </h:form>

        </f:view>

    </ui:define>


</ui:composition>